<%@ page language="java" import="java.util.*;import java.text.SimpleDateFormat;import java.util.Date;" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
Date date = new Date();
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>数据字典</title>
<link rel="stylesheet" type="text/css" href="<%=basePath%>css/header.css"/>
<script type="text/javascript" src="<%=basePath%>js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/table.js"></script>
</head>
<body>
<div id="all">
  <div id="banner">
    <h1>数据字典查询管理系统</h1>
  </div>
  <div id="nav">
    <ul>
      <li class="inactive"><a href="/ODSManager/Function_UserManage">用户管理</a></li>
      <li class="inactive"><a href="#">接口查询</a></li>
      <li class="inactive"><a href="#">表关系查询</a></li>
      <li class="inactive"  id="inactive_now"><a href="/ODSManager/Function_Load_data">数据导入</a></li>
      <li class="inactive"><a href="/ODSManager/Function_ODSsearch">ODS表查询</a></li>
      <li class="inactive"><a href="/ODSManager/Function_DataIndex">数据索引</a></li>
      <li class="inactive"><a href="#">新建分类</a></li>
     </ul>
  </div>
  <div id="main">
    <div id="welcome">欢迎你回来,${cname}!&nbsp;&nbsp;&nbsp;现在时间: <jsp:expression>df.format(date) </jsp:expression></div>
    <div id="adminop">
      <ul>
        <li><a href="javascript:parent.location.reload();">退出管理</a></li>
        <li><a href="index.html">站点首页</a></li>
      </ul>
    </div>
  </div>
</div>
<div id="body">
  <div class="add_data"> 
    <input type="button" value="从文件导入" id="add_files_button" />
  </div>
  
 
  <div class="update_tablename">
    <table border="0" align="center" style="
	margin-right: auto;
	margin-left: auto;">
      <tr>
        <td  colspan="4" align="center"><h2>手动添加ODS表</h2></td>
      </tr>
      <tr>
        <td>ODS表名：</td>
        <td><input name="" type="text" /></td>
        <td align="right">说明：</td>
        <td><input name="" type="text" /></td>
      </tr>
      <tr>
        <td>数据来源：</td>
        <td><input name="" type="text" /></td>
        <td>对端系统：</td>
        <td><input name="" type="text" /></td>
      </tr>
      <tr>
        <td>接口编号：</td>
        <td><input name="" type="text" /></td>
        <td align="right">备注:</td>
        <td><input name="" type="text" /></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td align="center"><input name="重置" type="reset" /></td>
        <td align="right"><input type="button" value="保存" /></td>
        <td>&nbsp;</td>
      </tr>
    </table>
  </div>
  
   <div class="add_files"  style="display: none;">
  <table border="0" align="center" cellpadding="8" style="
	margin-right: auto;
	margin-left: auto;">
    <tr>
    <td colspan="2" align="left">
   <h2>从文件导入:</h2>
    </td>
    </tr>
      <tr>
      <td>
  选择文件：</td>
      <td><input name="input" type="file" /></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td align="left"><input name="checkbox" type="checkbox" id="checkbox" checked="unchecked" />
        生成sql脚本</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <!-- /ODSManager/LoadCSV_CSVIO -->
        <td align="left"><input type="button" value="上传" />
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="button" value="取消" id="add_files_no" /></td>
      </tr>
  </table>
  </div>
</div>
</body>
</html>
